package com.teemor.tim.model.message.impl;

import com.alibaba.fastjson.annotation.JSONField;
import com.teemor.tim.model.message.Message;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ename zhoulk
 * @cname 周李科
 * @date 2020/12/16 14:09
 */
@NoArgsConstructor
@Data
public class ImageMessage extends Message {
    private static final long serialVersionUID = -2360329010409010819L;

    @JSONField(name = "UUID")
    private String UUID;
    @JSONField(name = "ImageFormat")
    private Integer ImageFormat;
    @JSONField(name = "ImageInfoArray")
    private List<ImageInfoArray> ImageInfoArray;

    @NoArgsConstructor
    @Data
    public static class ImageInfoArray {

        @JSONField(name = "Type")
        private Integer Type;
        @JSONField(name = "Size")
        private Integer Size;
        @JSONField(name = "Width")
        private Integer Width;
        @JSONField(name = "Height")
        private Integer Height;
        @JSONField(name = "URL")
        private String URL;
    }
}
